import request from '@/api/request'

export function getProducts() {
    return request({
        url: '/product/getAllPro',
        method: 'GET'
    })
}

export function getProduct(id) {
    return request({
        url: `/product/getPro/${id}`,
        method: 'GET'
    })
}